package com.example.demo.Service.Impl;

import com.example.demo.Dao.VideoDao;
import com.example.demo.Entity.ContentTag;
import com.example.demo.Entity.User;
import com.example.demo.Entity.Video;
import com.example.demo.Service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VideoServicelmpl implements VideoService {
    @Autowired
    private VideoDao videoDao;
    @Override
    public void insertVideo(Video video){videoDao.insertVideo(video);}
    @Override
    public void insertContentTag(ContentTag contentTag){videoDao.insertContentTag(contentTag);}
}
